package com.bdqn.t330.ch01.dao;

import com.bdqn.t330.ch01.entity.User;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

@Repository
public class UserDaoImp implements UserDao{

    @Override
    public List<User> getUserList() {
        List<User> list = new ArrayList<>();
        list.add(new User(1,"张三",18));
        list.add(new User(2,"lisi",19));
        return list;
    }
}
